package day32;

public class Emp {
	private String name;
	private Integer age;
	private Double salary;
	private State state;

	public Emp() {
		super();
	}

	public Emp(String name) {
		super();
		this.name = name;
	}

	public Emp(String name, Integer age) {
		super();
		this.name = name;
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

	public enum State {
		FREE, BUSY, VOCATION;
	}
}
